Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcDateFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 3 items: year, month, day.

year The year argument can be one to four digits. Spread uses the 1900 date system.

month is a positive or negative integer representing the month of the year from 1 to 12 (January to December).

day is a positive or negative integer representing the day of the month from 1 to 31.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the System.DateTime that represents a particular date.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcDateFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 3 items: year, month, day.

    year The year argument can be one to four digits. Spread uses the 1900 date system.

    month is a positive or negative integer representing the month of the year from 1 to 12 (January to December).

    day is a positive or negative integer representing the day of the month from 1 to 31.

    Return Value

    A System.DateTime value that indicates the evaluate result.
    See Also